package com.ynet.middleground.riskmanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.netty.channel.ChannelInboundHandlerAdapter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName QichachaPersonHoldingPath
 * @Description 企查查-个人控股查询结果-附表，地址列表
 * @Author zhangyongbin
 * @Date 2020/8/10 10:08
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rm_qichacha_person_holding_path")
public class QichachaPersonHoldingPath extends Model<QichachaPersonHoldingPath> {
    private static final long serialVersionUID = -2770148577142827989L;

    /**
     * 主键
     **/
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 控股信息主键 id
     **/
    private Integer respId;

    /**
     * KeyNo
     **/
    private String keyNo;

    /**
     * 名称
     **/
    private String name;

    /**
     * 当前人对当前公司的控股比例
     **/
    private String percentTotal;

    /**
     * 层次
     **/
    private String level;

    /**
     * 渠道
     **/
    private String channel;
    /**
     * 创建时间
     **/
    private LocalDateTime gmtCreate;

    /**
     * 创建者
     **/
    private Integer createBy;

    /**
     * 更新时间
     **/
    private LocalDateTime gmtModified;

    /**
     * 更新者
     **/
    private Integer modifiedBy;

    @Override
    protected Serializable pkVal() {
        return this.pkVal();
    }
}

